package com.facebook.common.internal;

import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

public class ImmutableSet extends HashSet {
    private ImmutableSet(Set arg1) {
        super(((Collection)arg1));
    }

    public static ImmutableSet copyOf(Set arg1) {
        return new ImmutableSet(arg1);
    }

    public static ImmutableSet of(Object[] arg2) {
        HashSet v0 = new HashSet();
        Collections.addAll(((Collection)v0), arg2);
        return new ImmutableSet(((Set)v0));
    }
}

